package cn.com.pansky.task;

import java.util.Timer;
import java.util.TimerTask;

public class Reminder {


    Timer timer;
    
    public Reminder(String bab502, String aae051){
        timer = new Timer();
        timer.schedule(new TimerTask(){
            public void run(){
                System.out.println("Time's up!");
                timer.cancel();
            }
        }, 3*1000);
    }

}
